package com.ccc.boot.security.service;

import com.ccc.boot.response.ResponseResult;
import com.ccc.boot.security.pojo.LoginParam;

import javax.servlet.http.HttpServletRequest;

/**
 *
 * @author superC
 * @date 2022/3/24
 * @version 0.1.0
 */

public interface AuthService {

    ResponseResult wmsLogin(LoginParam loginParam, HttpServletRequest request);

    /**
     * 微信公众号——登录
     *
     * @param loginParam
     * @param request
     * @return {@link ResponseResult}
     * @author superC
     * @date 2022/3/29 16:19
     */
    ResponseResult appLogin(LoginParam loginParam, HttpServletRequest request);

    void logout(HttpServletRequest request);
}
